
#include <map>

extern "C" {
	
#include <linux/input.h>

}

class KeyEvent {

private:
	static std::map<char, short> kmap;
	struct input_event event;
	int fd;

public:
	KeyEvent(const char *dev);
	~KeyEvent();

	void keyEvent(char key);
};
